Skip to content

feat(hive): vendor Hive 3.1 metastore + fb303 Thrift IDL#694

Merged
wgtmac merged 1 commit into
apache:mainfrom
MisterRaindrop:chore/hive-vendor-idl
Jun 9, 2026
Merged

feat(hive): vendor Hive 3.1 metastore + fb303 Thrift IDL#694
wgtmac merged 1 commit into
apache:mainfrom
MisterRaindrop:chore/hive-vendor-idl

Conversation

@MisterRaindrop

Copy link
Copy Markdown
Contributor

Vendor the Apache Hive 3.1 standalone-metastore IDL and the fb303 helper IDL it includes into third_party/hive_metastore/. These files are the input for the C++ HMS client bindings, generated by a follow-up commit that invokes thrift --gen cpp at build time.

Provenance:

  • hive_metastore.thrift - apache/hive @ branch-3.1, standalone-metastore
  • share/fb303/if/fb303.thrift - apache/thrift @ master, contrib/fb303

Both upstream files retain their Apache 2.0 license headers; only trailing whitespace and final newlines were normalized by the repository's pre-commit hooks. third_party/hive_metastore/NOTICE records the upstream sources, and the project root NOTICE references it. .github/.licenserc.yaml gains third_party/** to paths-ignore so the license-eye check skips the vendored tree.

@wgtmac wgtmac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for importing Hive related files. I've left some minor comments. BTW, the title is not core. Perhaps rename to feat(hive): vendor Hive 3.1 metastore + fb303 Thrift IDL

Comment thread .github/.licenserc.yaml Outdated
Comment thread third_party/hive_metastore/NOTICE Outdated
Comment thread NOTICE Outdated
Comment thread third_party/hive_metastore/NOTICE Outdated
@MisterRaindrop MisterRaindrop force-pushed the chore/hive-vendor-idl branch from 291b25f to 3d67f5d Compare June 8, 2026 07:52
@MisterRaindrop MisterRaindrop changed the title chore(hive): vendor Hive 3.1 metastore + fb303 Thrift IDL feat(hive): vendor Hive 3.1 metastore + fb303 Thrift IDL Jun 8, 2026
Vendor the Apache Hive standalone-metastore IDL and the fb303 helper
IDL it includes into thirdparty/hive_metastore/. These files are the
input for the C++ HMS client bindings, generated by a follow-up commit
that invokes `thrift --gen cpp` at build time.

Provenance is pinned to immutable upstream tags and commit SHAs so it
is reproducible and future updates are deterministic:
* hive_metastore.thrift       - apache/hive rel/release-3.1.3
                                @ 04c1b307d1bbd1ae268ad47dc36ca4f50c6d9cd8
* share/fb303/if/fb303.thrift - apache/thrift v0.14.0
                                @ 8411e189b0af09e5baad34031555870cf692c1ad

Both upstream files retain their original Apache 2.0 license headers;
only trailing whitespace and final newlines were normalized by the
repository's pre-commit hooks. thirdparty/hive_metastore/README.md
records the pinned sources. The vendored tree consists of other ASF
projects' files, so no NOTICE entry is required (ASF projects are
exempt); .github/.licenserc.yaml adds thirdparty/** to paths-ignore so
the license-eye check skips it.

Part of the iceberg-cpp HiveCatalog port that follows iceberg-rust's
iceberg-catalog-hms crate as a blueprint.
@MisterRaindrop MisterRaindrop force-pushed the chore/hive-vendor-idl branch from 3d67f5d to d9fc3f8 Compare June 8, 2026 07:59
@wgtmac wgtmac merged commit ad9b8fc into apache:main Jun 9, 2026
23 of 32 checks passed
@wgtmac

wgtmac commented Jun 9, 2026

Copy link
Copy Markdown
Member

Thank you, @MisterRaindrop and @gty404!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants